package com.sky.service;

import com.sky.dto.*;
import com.sky.entity.People;
import com.sky.result.PageResult;

public interface PeopleService {
    People login(PeopleLoginDTO peopleLoginDTO);

    void save(PeopleDTO peopleDTO);

    void update(PeopleDTO peopleDTO);

    People selectOne(Long id);

    int selectByPhone(String Phone);

    Long selectCount();

    PageResult pageQuery(PeoplePageQueryDTO peoplePageQueryDTO);


    void deleteUser(Long id);

    Boolean updatePassword(UpdateUserPassword updateUserPassword);
}
